<html>
<head><meta charset="utf-8"><title>Generic bounds &amp; closures · wg-traits · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/index.html">wg-traits</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Generic.20bounds.20.26.20closures.html">Generic bounds &amp; closures</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="160145410"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Generic%20bounds%20%26%20closures/near/160145410" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Generic.20bounds.20.26.20closures.html#160145410">(Mar 06 2019 at 22:14)</a>:</h4>
<p><span class="user-mention" data-user-id="116010">@Aaron Turon</span>  I'm done with the majority of tests for <code>associated_type_bounds</code> that I owed <span class="user-mention" data-user-id="124069">@Alexander Regueiro</span> and the <code>type Foo = impl Bar;</code> FCP is written (<a href="https://github.com/rust-lang/rfcs/pull/2515#issuecomment-467238637" target="_blank" title="https://github.com/rust-lang/rfcs/pull/2515#issuecomment-467238637">https://github.com/rust-lang/rfcs/pull/2515#issuecomment-467238637</a>) ... I think I'll be starting work on RFCs for generic bounds &amp; closures starting probably with one for <code>for&lt;'a: 'b&gt;</code> + <code>dyn&lt;'a: 'b&gt;</code>HRTBs and then moving on to <code>for&lt;'a&gt; |x: &amp;'a u8| x</code> as an expression form.</p>



<a name="160145955"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Generic%20bounds%20%26%20closures/near/160145955" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Generic.20bounds.20.26.20closures.html#160145955">(Mar 06 2019 at 22:15)</a>:</h4>
<p>After that I think we can start thinking more about type-generic bounds (<code>for&lt;T&gt;</code>) and extending that to generic closures too; and after that there's probably inference for generic closures to think about</p>



<a name="160146168"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Generic%20bounds%20%26%20closures/near/160146168" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Aaron Turon <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Generic.20bounds.20.26.20closures.html#160146168">(Mar 06 2019 at 22:18)</a>:</h4>
<p>thanks <span class="user-mention" data-user-id="126931">@centril</span>! i'll look over the FCP comment ASAP</p>



<a name="160146326"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/144729-wg-traits/topic/Generic%20bounds%20%26%20closures/near/160146326" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> centril <a href="https://rust-lang.github.io/zulip_archive/stream/144729-wg-traits/topic/Generic.20bounds.20.26.20closures.html#160146326">(Mar 06 2019 at 22:21)</a>:</h4>
<p><span class="user-mention" data-user-id="116010">@Aaron Turon</span>  thanks!</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>